﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DFGK.Service.BBS;

namespace DFGK.IService.BBS
{
    public interface IEquipmentBadService
    {
        List<EquipmentBad> GetPageData(string? materialName, int pageIndex, int pageSize, out int totalCount);
        bool SubmitEquipmentBad(EquipmentBad equipmentBad, out string msg);
        bool DelEquimentBad(long postId, out string msg);
        EquipmentBad? GetEquipmentBad(long equipmentBadId);
        object EquipmentBadTongJi();
        bool EquipmentBadSP(long equipmentBadId, string status, out string errorMsg);

        List<EquipmentBad> GetEquipmentBadDown();
    }
}
